fix api for js
show notice num