added es5 documentation