fix javascript tag causing error in application.html