Using JavaScript, create a red-black tree data structure that has the following methods: insert, delete, search, and traverse. The traverse method should allow for in-order, pre-order, and post-order traversal. The tree should implement the red-black tree properties, including that every node is either red or black, the root is black, and if a node is red, then its children must be black.
This prompt doesn't seem malicious.