Added new variable to preserv removal delay when js animations are in use