Store your personal data - an example of an protocol written in javascript