Update general.js

Menu javascript