Changed syntax to more JS like
Fixes #1 and makes the zoom plugin work as real zoom