Broke JavaScript down into different files.