correct js date creation for firefox
Merge pull request #35 from bertrandmalet/master

Fix Javascript error on Xhgui.linegraph with firefox

Fixes #34