 				switch search.type
 					when 'advanced'
 						method = 'search.biblio.multiclass.query'
-						request = $.extend({
+						request = $.extend(
 							offset: 0
 							limit: limit
-						}, search)
+						, search)
 					when 'lccn'
 						method = 'search.biblio.marc'
 						request =
-							search: [{
+							search: [
 								term: search.term
-								restrict: [{'tag': '010', 'subfield': '_'}]
-							}]
+								restrict: [tag: '010', subfield: '_']
+							]
 							offset: 0
 							limit: limit
 					when 'marc'


		'circ.renew':
			i: (copy) ->
				[auth.session.id, {
					patron: auth.session.user.id
					copyid: copy
					opac_renewal: 1
				}]
			o: (result) ->
				result = result.payload[0]
				if result.textcode is 'SUCCESS'

			s: true

		'actor.container.item.create':
			i: (item) -> [auth.session.id, 'biblio', fm.mapfield cbrebi: item]
			t: 'number'
			s: true

