add ifdefs - it builds es2!