Update mainSpec.js

I couldn't make this work in the IDE, don't know why.
TIP: search in web forums for solutions or suggestions