firefox doesn't like the status 'variable' not being declared with var