use single requirejs config file

Main config is stored in `source/js/config-require.js`.
JS instead of json makes it possible to store functions (happened not long ago on one of the projects).