A bunch of javascipt utils to restyle inputs