Learning javascript paradigms.