Revised js for GH project page url structure