Ajax_Events: Update examples so they are consistent

Examples should be consistent in where they log to and attached to
document instead of elsewhere