LB-1353: Undeleted post appear in posts list after 60s

Fixed error in javascript.
Added loading mechanism in core lib.