Rename functions to more general names
Add to Makefile
Add compiler to JavaScript, print statement