added node js, grunt and fixed a code bug