update JavaScript comment spec