fixing syntax errors

still having trouble on IE login. The page is stuck in a constant cycle
of refreshing.