js

fixing menu-function in js