scoped the inline css
Added the possibility to do the check client-side