Fix regex syntax highlighting for javascript
small fix
Check 'editedMask' to avoid duplicate highlighting on first loading
update
Automatically insert closing brackets and quotes
Merge pull request #123 from eldenchen/master

 * Fix regex syntax highlighting for javascript
 * Automatically insert closing brackets/quotes.