Add params cssPattern and jsPattern to modify the initial pattern