Implement #163
Move user options to localStorage instead of cookies