Makes header/footer into template and load using JS
Added file templates