script writes git hash into js file for this commit: 49ee889 debug prints