Broke out JS into separate files