added sample js, readme