adding rails assets paths to js