enhancements to gruntfile suggested by Alex Gibson
fix code style