oocss for javascript pirates provides an overview of object-oriented CSS (OOCSS) principles and how they can be applied when developing with JavaScript. OOCSS focuses on separating container and content, structure and skin, and identity versus state. It emphasizes maximizing CSS reuse and creating maintainable, concise styles. JavaScript developers can benefit from OOCSS's loose coupling of components and separation of concerns between CSS/HTML and JavaScript code. The document demonstrates how to identify OOCSS objects and implement identity and state CSS classes to control visual states from JavaScript.