Fix JS define bug; added missing dash to id string construction, cleaned up cv.js a bit
Fix JS define bug; added missing dash to id string construction, cleaned up cv.js a bit

colinpilloud/cv_generator,colinpilloud/cv_generator