workaround for node webkit