Change join script behaviour
Update application.js