This reader’s recommendations and supporting excerpts from the sampled discussions.
2 books
JavaScript: The Definitive Guide covers almost everything. If you take the time to read it, you'll know javascript very well.
PHP 5 Objects, Patterns, and Practice has a lot of advanced stuff.