Fixes default value case for closures

Fixes https://github.com/skulpt/skulpt/issues/236 which prevents default values getting passed to inner closure functions. Passes all tests.