add CSS and JS functions