Improve layout.
add attribute response for response message from url after upload complete
change to response to callback function, named onsuccess
added function check to avoid undefined