Added corrections to javascript syntax. fixes #27.

Doesn't complain but now we need data pulls or the javascript will whine.