extracted some JS patterns, started Thrax