Hiepluong dev

improve sidebar task, using jQuery ajax for all actions
This whole part is kind of ugly.