firefox doesn't like undeclared variables