Firefox/Ad Editor bug fix

Fixed a bug where the ad editor did not submit or save an ad in Firefox.
Apparently, Firefox needs all variables defined at some point. Makes
sense.

closes #85