some cleanup on ID names unified some fuctions in ContactFox.js