Checking github status in a script tag