removed duplicate type=text/javascript

added type for <script>