Fixed execQueryNoResult function in js script