Remove unnecessary JS tag, fix devise issue