Small changes to adapt to flot 0.8.1