cleaned up the styles.js module