Fixed a bug causing a JS error if the parent iFrame did not include the script