A Tiny Javascript to help you tune your adaptive designs