refactor harmonyRequire into separate require
add more harmony flags for later v8 versions