Removed dependency on $.browser