Update script.js

Change behaviour of setOnloadCallback, you must add this script after
<script type="text/javascript" src="//www.google.com/jsapi"></script>