javascript: add missing comma

Closes #19