add js and ajax to layout.erb
Merge pull request #11 from leeju/Adam

add js and ajax to layout.erb