fixes and lots of cleanup to nav js for brs site