Lightweight and easy to use timing decorators in JavaScript