Revert "js function param default values"

This reverts commit 5c77e16a568591958a53b62ccf07e8d7928b296e.