Lightweight HTML5 avatar uploader