[WOTGM-671] Added function to Execute JavaScript for IOS and Android versions.