building style via js