Error default value function javascript not supported
Revert "Error default value function javascript not supported"

This reverts commit 625df17bb6345cb6dcec4e72a4727b0b95a4078e.