Update javascript to catch undefined variable
Update zip file