Create custom CSS functions with Javascript.