Tweaks to javascript slides