CSS changes and script fix