Using prototype approach and removed innerHTML