javascript div messages box