support for older browser

ECMAScript 5 methods wrapped into private object