Remove docs
Convert to JS