fixed js error and removed turbolinks