made a js file with some flot code