Update public/javascripts/index.js

Remove debug code