Solved. I had a javascript error in the basic code wich only appeared as error in Javascript for IPad. (Date conversion error) The rather poor error reporing in chrome://inspect made me go in the wrong direction. And the code is now working.