Add HTML5 API; Edit error reporting; Update UA ver

This function is implemented in Biligrab 0.97.9.