fixed 405 status from github on ajax loading