index.html,fix #4

Consider JavaScript Closure