Update index.html

move chat functions to the bottom
add form to text inputs
add "return false" to resize function