Fix x axis dates using @joshcusano's code. Add common.js with date converter code.

@angaither @joshcusano Please check this...