Added javascript stuffs. Getting cards ready for new input.