Ajax: remove event dependency from the ajax module

(cherry-picked from c580a529716cd89eccdbda1bf3e9636e5a38811e)

Ref 4e7f34f6296111f7f91d621397dfb02c6bf4c41f
CSS: Clean up memory leak in reliableMarginRight

(cherry-picked from fa70df692eff16ad5d64a65ec565542d0690f732)

Fixes gh-1795
Closes gh-1893

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

Conflicts:
	src/css/support.js