Fixes declaring images array in rgif.js bug.