wrapped js in an IIFE to eliminate globals
refactored CSS a bit