Create of test_pattern.html &
reformating js/patterns.js