Fine-tuned Javascript for visual feedback when entering a URL.