code fix on JS tag on application.html file