Port zones, zone records, and zone table to javascript template