JSDOMWindow::put should not do the same thing twice