[JS] - Removed class dependency