css changes and IE10 javascript bug correction