Improved ajax functions for module IWjclic