Advanced front-end JavaScript unit testing with Jasmine