combine insert_js functions, insert only in footer
update zip file