Edited search.js to pass the query as a parameter. Also worked to replicate the prototype UI in results.jade