small updates for js
small updates for js