fixed #31 by using innerHTML in javascript notifications.