Adds annotation to only set window-size for javascript driver.