Jasmine fix 2

Attempt number 2: place the app initialize code before the long js code