cleaned up styles.js module