adding support for ajax; added cache sweep, click awareness