fixed a few bugs introduced by the last commit (we now pass all the tests we used to)
fixed a few bugs introduced by the last commit (we now pass all the tests we used to)

Touffy/JSSCxml,Touffy/JSSCxml,Touffy/JSSCxml