now can output pure HTML code, and get alarm when user leave, close or refresh window but data changes has not been saved