Beh un modo c'è sicuramente :P

Stai usando qualche framework javascript nel tuo script?