Replace persist.js with analogue.js

Seems I would have been in for some real headaches if I'd continued with
persist, so this was quite fortuitous timing indeed.