makefile to update generated javascripts with hash as 'version', update template to use the new hashes