Add some scripts using DOM manipulating XML