applied source formatting

cleaned up un-needed code, minified and condensed styles.