javascript: collapse noop conditionals
Merge pull request #1028 from raichoo/javascript

javascript: collapse noop conditionals
Tests on default args and substitution
Merge branch 'master' of github.com:edwinb/Idris-dev into default-arg-subst