add basic js program in school pro_alloc_by_hand page