a javascript styling extension