Fix tests

Conflicts:
	public/js/lib/utils.js
Don't window.focus if FFAndroid (bug 1104105)