grunt fixes

this leaves one issue in ceci-apps, with unreachable code for onload event triggering.