Cleaned up application.js, but still not working as planned.