Got JS working to join courses