enclose javascript in namespaces
adds upload progress
remove unused coffeescript