Fix class keyword detect condition

```javascript
if (/[\s]+class +(\w+)/.exec("app.register_class class My")) {
    console.log({
        type: 'class'
      , name: RegExp.$1
      , string: 'class ' + RegExp.$1
    });
  }
// Object {type: "class", name: "My", string: "class My"}
```