Improved JavaScript #9