Chart - jslint and tested the working example in IE and Firefox