added visualization html and changed script