had the image clickable by using coffeescript
change test for ajax