THRIFT-809 Javascript client: Please make required fields actually required.

Patch: noazark

Github Pull Request: This closes #232