move everything into one js file