using body rather than textarea

change <body> to <div id='notepad'> then there will be other <div>'s for style and save info and what not