Switch to the `$GLOBALS['TL_BODY']` array to add custom code at the end of a page independent from any JavaScript framework

Signed-off-by: xchs <github@gmx.net>
Merge pull request #8 from xchs/global-footer-array

Switch to the `$GLOBALS['TL_BODY']` array