If you simply want to parse "6.2014" to a Date, then split the string on the period "." and pass the parts to the Date constructor in the right order (year, month, day). Subtract 1 from the month as they are zero based (0 = January, 1 = February, etc.).
MDN is a good resource.
function parseMY(s) {
var b = s.split(/\D/);
return new Date(b[1], b[0]-1);
}
document.write(parseMY('6.2014'));
If you just want to reformat the string, then split it into its parts and reformat as a string:
document.write('1/' + '6.2014'.split('.').join('/'))
There are many libraries, large and small, that can help with parsing but if you only need to deal with a single format, a two line function should suffice (or a couple more lines if validation is required).