Added simple function to popup an alert, and changed 'run function' button to call simple javascript functions.