Add JavaScript version
Add C version and Makefile