Added challenge logic.
Merge remote-tracking branch 'origin/master'

Conflicts:
	js/factories.js