implemented Bgiframe without jQuery (as pure javascript plugin).