added demo and js