add modernizr tag in application.html.erb <head> 

and move :application js tag to the end of <body>