disabled turbolinks gem and moved javascript out of head and back to bottom of body