add mechanism to run external JavaScript