Make monkey patch work on newer Chrome builds