Added an if for $.browser function.