fixed all js, test referrer