JavaScript school code