Fix extension and jslint issues.