Updated for jslint.