Adding JavaScript Examples

JavaScript Definitive Guide code examples from book