[node-webkit] Small changes to optic.