Improved JavaScript #8