update div with text - JavaScript