basic updates to UI, some js clean-up (moving some literals into goatConstants)