Pascal 2 JS experiment