Removed ES5 dependency from code