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

update js binding for studio change.