Removed the unnecessary lib dir and converted the js files to coffeescript