Open a file dialog from node-webkit only in js