JavaScript File Reorginization