>>7
I looked at the source and it was quite tiny.
All that the code does at the end is load up
linuxstart.bin - boot sector
root.bin - the filesystem
vmlinux26.bin - the linux kernel
at different addresses in memory (look at the source to see what they are).
You just need 3 files, the html file (index), the terminal js, the x86 emulator js. In the x86 emulator js you can change the memory mapping of the files if you want to change anything, or you could just change the filesystem, boot sector or kernel directly if you need to.