AJAX js functions

Functions for operation with AJAX
Improvement plugin Retsentitems against polls
New config in adminpanel "Enable AJAX"