var $href = location.href;
var $host = location.host;
var $hash = $href.split($host)[1];
$hash = $hash.replace(/^\//, "");


if($hash.match(/^#.+$/)) {
    location.href = "/";
    /*
    if(navigator.userAgent.match("Safari")) {
        setTimeout(function(){ location.reload(); }, 10);
    }
    */
}