cleaned up the embed code view