sample js