Edited some comments in JS