Simple (offline) JavaScript based countdown timer