First commit of basic.js and intermediate.js