Fix generate-jsbindings.sh so it can on forked repos.