updates to comply with IE
*remove strict
*create custom "IndexOf" function and use instead of array.indexOf
*remove __defineGetter__ for length, and replace with getLength