[js] remove commented code