cleaned up html and commented js