RrdGraph.js: fix undefined 2nd argument of RrdVdef function

This fixes this error:
> TypeError: Cannot call method 'indexOf' of undefined at new RrdVdef
Merge pull request #4 from pommi/master

fix javascript error with VDEF resource(s)