Working copy of application.js, however with styling issues and updated devise config