add error handling for program not to stop on an error
consider the href and src attribute
Merge branch 'develop'

Conflicts:
	lib/ui.js
	result.js
	src/result.coffee
	src/ui.coffee