better recording cross-browser