js and demo added