add jquery lib
fix syntax errors
rpc interface + little demo