Js pattern tiles