WIP synchronisation
Added retry for Javascript friendliness
Merge pull request #7 from stuart/syncronisation

Syncronisation