Adds fragment support for browsers that do not support pushState.