- cleaned up, moved JS to script, added store and retrieve calibration from localStorage