Converting name to pinmap to remove jQuery conflicts