Add require.js as dev dependency

It's needed to run tests in the browser