Changed client.js with minor hack to load candidates