Move index github badge to external js file