* extended constructor to handle DOM Elements and Objects