[JS] - Added in support for elements