Added spirit.js and coded a simple compression function.