Update main.js

Clientsided greentexting using regular expressions.
Merge pull request #4 from BagelMan666/patch-2

Greentexting addition