added a $ variable for selDOM, and replaced the Array.prototype with []