fix reference error bug of onFailed's variable
add Star static method (fetch last updated time)
add grunt mocha tasks
fix server task that was not working
remove duplication