Reorganize code to prevent individual js files from being served