header.inc improvemnet

remove js error when top frame is not present - good for debugging