Adds JS and image class