Make exe_do work in standalone mode on linux.
Update imagemapidevice script to work with ajax page changes