Adapted script handling to JSDOM changes
Fixed iframe handling
Added back extension mechanism