Added js to make timing-functions demo responsive