javascript: #1641 add missing primitive
Merge pull request #1657 from raichoo/master

javascript: #1641 add missing primitive