Image buffering for mootools