Javascript (Simple) Process Scheduling Simulator