Hiepluong dev

improve sidebar task, using jQuery ajax for all actions
instead of this whole if else chunk, you can do data.func(result), if you just store the function to handle in data.func ?