You don’t master Javascript, ever. You just become accustomed to the madness and stop caring, while sometimes doing things right.