fix menu length to 10000
fix diverse js and template errors