doc

doc some js code