Improved css page styles.
Moved span elements and modified javascript.