Adding get and set window position to wd.js