minor code cleanup and reformatting
adding support for tainted properties

Object.keys(obj)[1].tainted returns true now if the key is tainted