js|Quieting deprecation warnings