add one file with all functions defined for use with ajax linking
switched to using single file and calling functions when pages are put into DOM