add user vars to window object