javascript comments

Nice logic.