cleaning js
console instead of alert on click
finished cleaning
:Merge branch 'js_clean'

Conflicts:
	viewer.php