remove type attribute from javascript code examples

This was causing the enclosing divs to scroll horizontally, which
looked terrible, and they’re not especially useful as instruction