Add javascript for checking inputs, window resize to join page