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