Updated ludojs code for positioning