Added persistent storage write when eula accepted message received.
Added ready event listener to JS.