adding images and loader gif
adding a bit more error handling to the js for results