regist js