added js comments