Move pushState to loadMusic where it makes more sense, also fix JS replace() so it does a global search