removed commented out code and cleaned up naming convention in location details js page