corrected jsFiddle and renamed $ to flot