documenting es5 test script