create the github js class