Added a missing  type="text/javascript"