Can see entire image now.
Moved undo script into .js