Ajax: remove event dependency from the ajax module

Ref 4e7f34f6296111f7f91d621397dfb02c6bf4c41f
CSS: Clean up memory leak in reliableMarginRight

Fixes gh-1795
Closes gh-1893

Thanks for the report flexphperia!
(cherry picked from commit 7d15b4d1f181de8868c375c545a51e4dfc28a611)

Conflicts:
	src/css/support.js