fixing scoping issue in javascript that was causing the responsive menu code to not load.