updated js comments