Moved scripts in application.html.erg to the head