Broke down JS into multiple files