Adding sinatra asset pack
Refactored javascript into coffee script