rails' javascript loading