Fix send page bug on certain RPC error types.
Add grunt dependency. Fixes interoperability with grunt-cli.