change namespace of javascript