jquery localtime for graphs