Move event handler to (function(){...})()
Add file-drop. Instead of using parse_wall.php, parse wall/area XML in javascript.
Add upload function. Fix jquery with FormData(processData:false,contentType:false)