Foreign Function Interface with Jasmine testing framework.