Remove use of new Function() to achieve Function.name goal

* Don't be evil ;)
* Fixed completely broken Jasmine tests