Base of compilation

I looked at what happens when you hit save and recreated it for
compiling. At the moment there is just a console.log call.