remove unnecessary tern stuffs

I removed unnecessary tern stuff and redefined some paths.

```/tests/``` all expected tests pass (30 failures still).
```/client/``` works normally.
```node index.js js-files/``` works normally.

Based on the above testing, this should be good to go. :boom: