removed classes and methods unsuitable for javascript/browser