onclick text shows alert on firefox and chrome