Update www/js/index.js

Added missing semicolon