Javascript now replaces card info

Javascript now replaces card info in form with active card after an
update.