STUDIO-186 : Function to execut a javascript method and get the value