more js demos
added debug