add resource directory again which got lost due to merging conflicts
patterns.js MUST NOT be compressed, else ERROR