Add JS to control image width