Task83110 ps sc js consistency changes

Tested the Profiles Test Suite for JS. And Samples Working fine.