Pull inline JS out to a file
Adding localStorage saving