added missing JS mustache dependency
added correct handling of multiple metadata with same meta key