adding some js to demo