del the top navbar javascript actions