refactoring
update example
submit file form by ajax
remove unused code