Move javascript logic to coffeescript
Move coffeescript files to own folder