Patch panel javascript functions were coming up for non-patch panel devices #217