Phoxy: substitute best fit image on fly
One of phoxy benefits — it allows represent DOM element as object. Maybe it doesn’t have syntax equal to classes, because DOM are different from common class term. Still it could have methods, change self state on condition, inherit etc.