Replace deprecated call to .browser