added code to products controller to include ajax in the search. Added script tags on the index.html.erb
commented out coffeescript gem. Changed product javascript file to .js and the same for reviews. updates products.js for .ajax and then refactored it to .get and then .getScript. had to then include a index.js.erb in product views for the server to respond to the index. updated products controller to respond to serer in index.