VGV: Fix for layers being displayed in wrong order.
Grunt: adjustments to fix 'grunt build'