added some routines
Merge branch 'master' of https://github.com/michey/js-stats

Conflicts:
	loader.js