Adding validation. Fixing hardcoded JS urls/ports. Small UI fixes.