copied comment on javascript call behavior