remove dependency to jquery. lazy to make it work on windows.
the mechanism doesn't work on POST yet