Fix webmaster toll error with javascript