JavaScript sample app that demonstrates cloud save