Use canonical NodeJS require('...') dependency resolution mechanism

Drop usage of less natural (for NodeJS) way of concatination of
all the sources to a single js file.

package.json simplification is done duu to the changes.