added js ui handlers for info and error

tz_error("Error Message")
tz_info("Pre", "Info Message")