upload image/video with ajax, no session info and binding to a class closes #53