Changed code guts

Added includes with jQuery .load()
/afterformat header fix