snippets of javascript + css code for easy reuse