prevent slimmer from dying on long pages

+ some more JS execution paranoia