Coding style - terminate JS statements
Remove unreachable code
Fix HTML validation error