oop js html