added grunt lintspaces task, and review/update code