Added jsLint directive and clarified JavaScript comments.