Added some tests for the TCharts javascript.
Merge pull request #1 from colefichter/adding_javascript_unit_tests

Added some tests for the TCharts javascript.