Optional `imagemagick` part 1:

Replace `im = require('imagemagick')`, with `im,`, and after the `var` block, do

````javascript
try { im = require('imagemagick'); }
catch(e) {}
````

That way if the package isn't installed it won't throw (yet)