replaced all # hrefs to javascript:void(0) to stop polluting the location url
JSON isn't always expected anymore