move vendor js to vendor folder, optimize menu loading