redraw everything if a new script was loaded

Signed-off-by: Mattias Andrée <maandree@operamail.com>