Changes For NodeJS Webkit support