Small js fix and comments.