Jep, thought about that too.
Your the JS man: decide what's the best solution