Remove noSuchValue usage from JS DOM library