End of Day - Cleaning up menu javascript