[js] lets use module pattern in javascript