update js trick in webnote