Use nsdeclare to fix grunt-contrib-lib being deprecated

Fix issue #107