cleaned up wca.js and added wca format as well as a helper 'formatName' which takes a formate code and returns gives the name