fix uncaught js exception in nchart dependency (anonymous method init)
Merge pull request #1207 from jay-hodgson/release-59

fix uncaught js exception in nchart dependency (anonymous method init)