Implemented a Jade Compile function