Add ECMAScript5 tests and updated doccos