refactor js code
added a ignore item
create a js file
inited grunt file