use seconds explicitly
make tests working by adding prefs; put in some prerequisites for stats
update
fixes #61
updated jQuery