Sol III in Javascript