Revert "JavaScript callback value sync problem"

This reverts commit f6b7ec652aeb2bf9b916f100b92c6e28722984fc.