webstaff: add routine for Dojo JS to detect if running in iframe