fix a bug
script writes git hash into js file for this commit: 756db31 fix a bug