grunt 0.4 compatibility. fixes #12, #13