Updated display of collections in templates. Removed javascript setup in foot_script - now updated in the edit display to provice correct javascript.