made Firefox-compatible