bugfixed and added $.browser