firefox video fix
build javascript smarter to not cause errors on every page besides mirror