--amd option to englobe the compiled JS in an AMD definition.

That should allow compiling a same file as a Node or an AMD module.
Missing instanceof operator.