Extensions appending JavaScript