Update #2 (added beforeSend() Ajax Function)

Added the ability to fire beforeSend function with ajax.