zpas2js Pascal to Javascript