Add HTML5 API; Edit error reporting; Update UA ver

This function is implemented in Biligrab 0.97.9.
Line 89: Why remove the blank line here?