templates: Move zoom.js reference after dynazoom form

This avoids running zoom.js before the form is available, resulting
in the form being empty and the image not loading.