don't use es5 stuff in hmr code