fixed gruntfile to compile demo and github pages
fixed issues