make it work with node webkit