Question: Is it possible to use `require()` (or something similar) on client side?

**Example**

```
var myClass = require('./js/myclass.js');

```

Answer: 
You should look into [require.js](http://requirejs.org/) or [head.js](https://github.com/headjs/headjs) for this.
I asked myself the very same questions. When I looked into it I found the choices overwhelming. 

Fortunately I found this excellent spreadsheet that helps you choice the best loader based on your requirements:

<https://spreadsheets.google.com/lv?key=tDdcrv9wNQRCNCRCflWxhYQ>