A Specification For JavaScript Task