Fix more browser tests under grunt