fixed issue with javascript src image comparison when app deployed to Heroku