Fixed on ready js issue resulting from Turbolinks