JS file outlining removed iframe functionality