Prodege interview question

About javascript jQuery. How to implement quota