adding a series of attributes for the iframe