add comments for js