used namespace in js code