update setup and restore grunt tasks to build-pages before sync-docs