fixed error with JS minifier and special method names