Updates to make it work with rails 4

I had to make these changes to make it work with my rails4 project. NOTE: i made these very quickly so these maybe incorrectly implemented. 

Fixes the followings

- error loading jQuery
- error loading syntax_highlighting css