Example code from FagDag 09.04.2014 (JavaScript application frameworks)