move code from js.js to search.js in the search app
add paged provider
ajax paging, some js cleanups