A simple task management javascript module