added an option to define where the alert appears

this pushes a new function that handles the actual javascript enqueueing now, and the idl_signal_all_the_cats function now uses a switch to determine what action to perform based on the page selected in the option