String.prototype.replaceAll

Function to replace all occurences of a string inside another string
Adding page parameters

When loading a page via ajax, any query string parameters are passed to StatTracker::filterPageParameters, and the resulting set of filtered params are passed alongside the page request