update sync test app to work with js app