I split out the web controls to a new file, and can set the status of
the play button correctly when the page is loaded. Finally, the
set_play_button() function is called on a timer so changes on the
application will be reflected on the web page eventually.
The set_attr_once() function is the same as set_attr(), only it will
only set the value once. Attributes like "version" should use this,
since the ocarina version shouldn't change often.
I was using the attribute as the object id in the html page. By
splitting the two, I can have the same attribute set in multiple places
on a single page independently.