The jQuery Masked Input Plugin looks like quick solution.
I just uploaded a project using jQuery and Flot (plotting library) here:
I integrated jQuery by adding it into the <head> section of the welcome-non-nav.html.
Let me know if you require help integrating to your project
For best results, use the Firefox browser..