added new js for custom nav