Update github.js

path parameter is not properly handled in xhr because of GET request. Quick fix by adding it to url instead.