setting global vars instead of window vars to fix jasmine tests
added test task to default (jasmine and phpunit testing using grunt works)