Corrected error with JavaScript syntax (worked on Firefox, but not on
Google Chrome or Safari, for example).