front end mostly working with CommonJS