Firefox survey compatibility

Please merge this and NOT fix_validate_number (I will close that pull req now)