It could be, but I feel that adding state to the HTML isn't too useful, it becomes stateful when the JS is loaded.