Added select ajax
Refactored uploader to coffeescript