add $.browser support