UI, Javascript

UI improvements in card learning mode, some JS refactoring and event delegates set up.