doing some things with styles now instead of in js