code: function listParser(str) {
  	var list = str.split(',');
  	for (var i = 0; i < list.length; i++)
  		list[i] = list[i].replace(/(^\s?)|(\s?$)/g, '');
  	return list;
  }
docs: Parses the supplied string of comma seperated list and returns an array of
  its values.
  @param {String} str - a string on the format "value1, value2, value2".
  @retruns {String[]} - a list of all the found extensions in @a str.