Updated Makefile for JS examples