Removed all non-library js files and converted them to cofeescript