Add missing semicolon
[javascript] clarify constructor prototype example, as per #204