fixed js syntax error
Merge pull request #16 from marc7000/fixedJs

fixed js syntax error