js for demo