Use javascript to make image full width on teach page