fixed firefox typeof bugs
fixed firefox start/stop bug