Update namespace.js

merge output and context