Tweaks to JS and updates image