I think jquery is an overkill here

but we can think of optimizations later