add Javascript Patterns