Fixed string parser prototype methods issue 

(for var in array) { ... }  loops on the object not the array, if you have added any functions to the Array Prototype these get included in the loop.

Simply added the .hasOwnProperty, to ensure that the loop is only working on the Array values.