fixed appjs, index.html and create grunt tasks