javascript adding script tags