Modified caller script so it can call any JavaScript