A good online book that covers JavaScript basics is: Eloquent JavaScript
Another good book that covers the basics is: Speaking JavaScript
This is a must-read - JavaScript: The good Parts
It is a short book that gives you a very good explanation why JavaScript is not like any other language that you know.
The C-like syntax can be misleading. Read this book to know your JavaScript
A good online book about jQuery is: jQuery Fundamentals - the book covers everything you need to know to get started with jQuery
A good book on that topic is: You don't know JS: Scope & Closures - it is available on GitHub
This is another Must-read JavaScript book that you can find here: