script type must be text/javascript (not JavaScript)