modify project structure to serve javascript via asset pipeline.