Fix javascript loading problem

Fix javascript load due to Turbolinks presence