extend and replaceState wrappers does not exist