grunt fixes for ceci

leaves one issue, concerning unreachable code for Ceci's onload event listeners. This will have to be a separate ticket