adding JavaScripts patterns reader