Add ajax file upload and markdown convertsion

Please use 4 spaces for indentation in .js files as in other our projects.

Probably you haven't setup [editorconfig](http://editorconfig.org/).