cleaning up html
Added some basic comments
job success or fail
Forgot to close function call