Change buttons to use CSS instead of JS
Changed reference handling to be generic in preparation for use with Positions
Add references
Merge remote-tracking branch 'origin/master'

Conflicts:
	index.php
	issue.php
	position.php