update promhx to use nextContext for js