pulled JS into different file