using ecma5 in code.js