change event emit logic
correct webkit version
correct windows mapping
add mac platform support