Removed older test html file, added pause behaviour and refactored the state saved client side