update js binding for studio change.
remove unnecessary define
Merge pull request #4805 from Dhilan007/master_222

update js binding for studio change.
Merge branch 'master' into master_nutty_modify_framework_optimizewidgets