scheduler + js test stuff