Config the grint, grunt contat, deleting unused files and separating the js code