adding semicolon to prevent IE javascript errors
few changes