JavaScript bug fixed.