changed internal removeAll method name for JS compilation
Fixing Test