Tiny JS improvement