added LICENSE
added new line before end of file
added onbeforeunload
updated compressed index.html