porting js & css changes to rails.new. some fixes for dev server.