Fix some outdated code in aspect_ratio_resize.js