Move javascript to a file of its own
Remove useless variable
Set monospaced font in textarea