Moved the CSS into the javascript as well to make it easier to embed