fixed white space issues
added support for naming your javascript application a different name than your rails app