1. Unobtrusive javascript 2. JavaScript guru Douglas Crockford calls the browser “the most hostile programming environment in the world.” He said this before…