javascript: do not include jsbn if not needed
whitespace
javascript: remove overlapping case
Merge pull request #948 from raichoo/javascript

Javascript