We should add too-many/too-few argument checking to the JS1 back-end as part of the argument defaulting code. This will help people not create parameter bugs when coding agains JS1 back-ends. Only emit the code for the debug case.