Improve docs and update html5 engine