Fixed html to show image
Followed JSLint
Allowed HTML client to post image urls

And Fixed some responses to handle each types more easily