Added simple header/footer, donate JS/PHP logic