Drop deprecated javascript
Apply various syntax consistency improvements
Apply a few CSS fixes for IE6-7