Updated indentation
Making it a bit more CoffeeScript-like :)
Stub for ECMAScript 5 tests
Bumped version
Updated reference (window -> root), Added AMD definition
Updated JS